arm_comm = common/arm_arch_interface.c common/armcopro.c common/armemu.c common/arminit.c common/armmmu.c common/armos.c common/armsupp.c common/armvirt.c common/thumbemu.c common/arm_module.c
arm_mmu = common/mmu/arm7100_mmu.c common/mmu/arm920t_mmu.c common/mmu/arm926ejs_mmu.c  common/mmu/arm1176jzf_s_mmu.c common/mmu/cache.c common/mmu/maverick.c common/mmu/rb.c common/mmu/sa_mmu.c common/mmu/tlb.c common/mmu/wb.c common/mmu/xscale_copro.c
libarm_la_SOURCES = $(arm_comm) $(arm_mmu)

libarm_la_LDFLAGS = -module -no-undefined -lcommon -L$(top_srcdir)/common/.libs
pkglib_LTLIBRARIES = libarm.la

DEFS = -DMODET -g -D_FILE_OFFSET_BITS=64 -DSTANDALONE -DDEFAULT_INLINE=0 -DNO_LCD @COMMON_CFLAGS@

INCLUDES = -I$(top_srcdir)/arch/arm/common @COMMON_INCLUDES@

libarm_la_LIBADD = armemu32.lo

armemu32.lo:common/armemu.c
	../../libtool --tag=CC   --mode=compile $(CC) -DMODE32 $(DEFS) $(INCLUDES) -g -MT armemu32.lo -MD -MP -MF .deps/armemu32.Tpo -c -o armemu32.lo `test -f '$(srcdir)/common/armemu.c' || echo `$(srcdir)/common/armemu.c

